xenconsole: fix assumption about printed max domid length.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:23:06 +0000 (07:23 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:23:06 +0000 (07:23 +0100)
commitac663c94f046161c0753ccf91455c3fbd3f50d1a
treef945cfe40711ba34f31c9bd99722b0debeabdca8
parentc12b25aa7ddb70cefacb119e1ff7573906a7284d
xenconsole: fix assumption about printed max domid length.
Also snprintf includes the final '\0' in the char count.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/console/client/main.c